#include <stdlib.h>
#include <string.h>
#include <stdio.h>

#include "global.h"

int send_user_up_msg(fd_set fds, char* nick);

int send_new_msg_msg(fd_set fds, char *who, char *message, int msg_len);

int send_user_down_msg(fd_set fds, char* nick);

int send_login_ok_msg(int fd);

int send_login_error_msg(int fd, int err_code);

int send_unexpected_msg(int fd);

int send_unknown_msg(int fd); 

int send_ill_formed_msg(int fd);



